
{% load i18n %}

{% block content %}
<!DOCTYPE html> 
<html> 
    <head> 
    <title>Login Page</title> 
    <link rel="stylesheet" href="/static/jquery.mobile-1.0a2/jquery.mobile-1.0a2.min.css" />
    <script src="/static/jquery.min.js"></script>
    <script src="/static/jquery.mobile-1.0a2/jquery.mobile-1.0a2.min.js"></script>
</head> 
<body>

<!-- Home Page -->
<div data-role="page" > 
    <div data-role="header">
       <a rel="external" href="/courses/{{lecture.course.id}}"> back</a> <h1>{{lecture.title}}</h1> <a href='/accounts/logout/' rel="external" > logout</a>
    </div> 
    <div data-role="content">

<form method="post" action="/messages/submit/{{lecture.id}}">
 
{% csrf_token %}
<h3>Title</h3>
<input type=text id="title" name="title" />
<h3>Message</h3>
<textarea cols=50 rows=10 id="content" name="content"></textarea><br><br>
  <input type="submit" value="Submit Message" />
 </form>

</div> 
</div> 
</body>
</html>

{% endblock %}
